home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3 / f90 / ieor.z / ieor
Encoding:
Text File  |  1998-10-30  |  1.6 KB  |  55 lines

  1. IEOR(3I)                                               Last changed: 1-6-98
  2.  
  3.  
  4. NNAAMMEE
  5.      IIEEOORR - Performs an exclusive OORR
  6.  
  7. SSYYNNOOPPSSIISS
  8.      IIEEOORR (([II==]_i,, [JJ==]_j))
  9.  
  10. IIMMPPLLEEMMEENNTTAATTIIOONN
  11.      UNICOS, UNICOS/mk, and IRIX systems
  12.  
  13. SSTTAANNDDAARRDDSS
  14.      Fortran 90
  15.  
  16. DDEESSCCRRIIPPTTIIOONN
  17.      The IIEEOORR intrinsic function performs an exclusive OORR.  It accepts the
  18.      following arguments:
  19.  
  20.      _i    Must be of type integer
  21.  
  22.      _j    Must be of type integer with the same kind type parameter as _i
  23.  
  24.      IIEEOORR is an elemental function.  The name of this intrinsic cannot be
  25.      passed as an argument.
  26.  
  27. RREETTUURRNN VVAALLUUEESS
  28.      The result type and type parameter are the same as _i.  The result has
  29.      the value obtained by combining _i and _j bit-by-bit according to the
  30.      following truth table:
  31.  
  32.           -----------------
  33.                   IIEEOORR (_i,
  34.           _i   _j      _j)
  35.           -----------------
  36.           1   1       0
  37.           1   0       1
  38.           0   1       1
  39.           0   0       0
  40.           -----------------
  41.  
  42.      The bit model defines the interpretation of an integer value as a
  43.      sequence of bits.  For more information on the bit model, see the
  44.      MMOODDEELLSS(3I) man page.
  45.  
  46. EEXXAAMMPPLLEESS
  47.      IIEEOORR((11,, 33)) has the value 2.
  48.  
  49. SSEEEE AALLSSOO
  50.      MMOODDEELLSS(3I)
  51.  
  52.      _I_n_t_r_i_n_s_i_c _P_r_o_c_e_d_u_r_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l, publication SR-2138, for the
  53.      printed version of this man page.
  54.  
  55.